﻿<%@ Page Title="" Language="C#" MasterPageFile="~/webmx/layout/Default.master" AutoEventWireup="true" CodeFile="Set.aspx.cs" Inherits="webmx_program_product_Set" %>

<%@ Import Namespace="System.Data" %>
<asp:Content ID="Content1" ContentPlaceHolderID="mp_head" runat="Server">
    <link rel="stylesheet" href="/webmx/css/uniform.css" lang="ch" />
    <link rel="stylesheet" href="/webmx/css/select2.css" />
    <link rel="stylesheet" href="/webmx/js/uploadify/uploadify.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mp_body" runat="Server">
    <%
        if (ra == null)
            AlertRedirect("法会编号异常，页面无法打开", "list.aspx");
    %>
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">
                <div class="widget-box">
                    <div class="widget-title">
                        <span class="icon"><i class="icon-align-justify"></i></span>
                        <h5>编辑产品</h5>
                    </div>
                    <div class="widget-content nopadding form-horizontal">
                        <div class="control-group">
                            <label class="control-label">年份</label>
                            <div class="controls">
                                <input type="text" name="txtYear" class="span6" placeholder="标题" required value="<%=ra.Year %>" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">法务名称 :</label>
                            <div class="controls">
                                <input type="text" name="txtName" class="span6" placeholder="标题" required value="<%=ra.Name %>" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">排列顺序 :</label>
                            <div class="controls">
                                <input type="number" name="txtSort" class="span6" required value="<%=ra.SortID %>" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">开始时间 :</label>
                            <div class="controls">
                                <input type="date" name="txtStart" class="span6" required value="<%=ra.StartTime.ToString("yyyy-MM-dd") %>" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">结束时间 :</label>
                            <div class="controls">
                                <input type="date" name="txtEnd" class="span6" required value="<%=ra.EndTime.ToString("yyyy-MM-dd") %>" />
                            </div>
                        </div>
                        <div class="form-actions">
                            <input type="submit" class="btn btn-success" value="保存" />&nbsp;
                            <a class="btn btn-danger" href="list.aspx">取消</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="mp_foot" runat="Server">
    <script type="text/javascript" src="/webmx/js/jquery.uniform.js" charset="gb2312"></script>
    <script type="text/javascript" src="/webmx/js/jquery.validate.js" charset="gb2312"></script>
    <script type="text/javascript">
        $("#sidebar ul li").removeClass("active").eq(1).addClass("active");
    </script>
</asp:Content>

